package shop.common.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("cart")
public class Cart {
    private String id;
    private String userId;
    private String productId;
    private Integer quantity;
    private Integer selected;

    @TableField(exist=false)
    private Product product;
}
